﻿using System;

namespace 群智感知激励系统服务端底层
{
    internal class Program
    {
        private static void Main(string[] args)
        {
            // 物质女的服务器
            Console.Title = "当前用户：0";
            TCP传输层.启动();
            while (true)
            {
                Console.ReadKey(true);
            }
        }

        private static bool ConvertIntToByteArray(Int32 m, ref byte[] arry)
        {
            if (arry == null) return false;
            if (arry.Length < 4) return false;

            arry[3] = (byte)(m & 0xFF);
            arry[2] = (byte)((m & 0xFF00) >> 8);
            arry[1] = (byte)((m & 0xFF0000) >> 16);
            arry[0] = (byte)((m >> 24) & 0xFF);

            return true;
        }
    }
}